📖 a chapter{{ " · shared" if s.shared }}
{{ c.title }}
{{ s.lo|local('%B %-d, %Y') }} — {{ s.last_day_ts|local('%B %-d, %Y') if not s.open else 'still being written' }} · {{ sm.days }} day{{ 's' if sm.days != 1 }}
{{ c.foreword }}
{% endif %} {% if edit %}✍️ {{ 'edit the foreword' if c.foreword else 'write a foreword — what this chapter was, in your words now' }}
🎯 the goal{% if s.goal.verdict %} · {{ {'met': 'reached', 'missed': 'not reached', 'open': 'still open', 'unmeasured': 'not measured'}[s.goal.verdict] }}{% endif %}
{% if s.goal.text %}{{ s.goal.text }}
{% endif %}{{ s.goal.label }}{% if s.goal.days %} · day {{ s.goal.day }} of {{ s.goal.days }}{% endif %}
{% endif %} {% if edit %}🎯 {{ 'change the goal' if s.goal else 'set a goal — what this chapter is for, and how the log should measure it' }}
A habit goal is held to the habit's own weekly target — change that on Habits, not here. n is the days wanted, or for a habit the weeks on target wanted (0 = every full week). Empty the words and pick “words only” to remove the goal.
🖼 choose the cover photo
{% if sm.most_locked %}Most locked: {{ sm.most_locked.day|isodate('%A %b %-d') }} ({{ sm.most_locked.active_seconds|dur }}).{% endif %} {% if sm.best_headspace %}Best headspace: {{ sm.best_headspace.day|isodate('%A %b %-d') }} ({{ '%.1f'|format(sm.best_headspace.value) }}).{% endif %}
{% endif %}· quiet for {{ it.n }} day{{ 's' if it.n != 1 }}{% if it.n > 1 %} — {{ it.first|isodate('%b %-d') }} to {{ it.last|isodate('%b %-d') }}{% endif %} ·
{% else %}Day {{ it.n }} {{ it.day|isodate('%A, %B %-d') }}
{% if it.sentence %}{{ it.sentence }}
{% endif %} {% if it.scores %}{% for k, v in it.scores.items() %}{{ k }} {{ '%.0f'|format(v) if v == v|int else '%.1f'|format(v) }}{% endfor %}
{% endif %} {% if it.moments or it.badges %}-
{% for m in it.moments %}
- {{ m.icon }} {{ m.text }} {{ m.ts|local('%H:%M') }} {% endfor %} {% for b in it.badges %}
- {{ b.icon or '🏅' }} Earned {{ b.title }}{% if b.detail %} — {{ b.detail }}{% endif %} {% endfor %}
{{ {'reflection': '📓 reflection', 'checkin': '🧭 check-in', 'confession': '🙊 confession', 'catchup': '🗒 caught up'}[e.kind] }} · {{ e.ts|local('%H:%M') }} {% if e.prompt_text %}{% endfor %} {% if it.photos %}{{ e.prompt_text }}
{% endif %} {% if e.body %}{{ e.body }}
{% endif %}
✍️ add a note about this day
Nothing happened in this window yet.
{% endfor %}Notes
Written about days this chapter has not reached yet, or that arrived from another box.
{% for n in s.notes_undated %}{{ n.day|isodate('%A, %B %-d') }}
{{ note(n, tok, edit) }}{% endfor %}